<div class="panel panel-default panel-intro">
    {:build_heading()}

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        <!-- 这里是jS文件添加的 -->
                        {:build_toolbar('refresh,del')}

                        <!-- :$auth->check('business/highsea/apply')，解释 是$auth是后台管理员的权限控制，也就是后台登录验证类，调用里面的验证方法check()，返回true和false-->
                        <a href="javascript:void(0)"
                            class="btn btn-success btn-disabled disabled btn-apply {:$auth->check('business/highsea/apply') ? '' : 'hide'}"
                            title="领取">
                            <i class="fa fa-plus"></i> 领取
                        </a>
                        <a href="javascript:void(0)"
                            class="btn btn-success btn-disabled disabled btn-allot {:$auth->check('business/highsea/allot') ? '' : 'hide'}"
                            title="分配">
                            <i class="fa fa-share"></i> 分配
                        </a>

                    </div>
                    <!-- 只保留删除权限data-operate-del="{...}" -->
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                        data-operate-del="{:$auth->check('business/highsea/del')}"
                        data-operate-apply="{:$auth->check('business/highsea/apply')}"
                        data-operate-allot="{:$auth->check('business/highsea/allot')}" width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>